<?php

namespace App\Http\Model;


class ActivityLog extends Base
{
    protected $fillable = ['user_id', 'activity_id', 'is_success'];

    public function getCreatedAtAttribute($date)
    {
        return \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $date)->timestamp;
    }

}
